{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="{% static '/js/jquery-1.9.1.min.js' %}"></script>
</head>
<body>
<table>
    {% for all in ss %}
        <tr>
            <td>{{ forloop.counter }}</td>
            <td>{{ all.sname }}</td>
            <td>{{ all.age }}</td>
            <td>{{ all.da|date:'Y-m-d' }}</td>
            <td>{% if all.ns == 1 %}
                男
            {% else %}
                女
            {% endif %} </td>
            <td>{{ all.gjz }}</td>
            <td>{{ all.fenlei }}</td>
        </tr>
    {% endfor %}

</table>

</body>
</html>